<%inherit file="../base.mako" />
<%def name="title()">
    %if config['debug']:
        user operation -
    %endif
    <% name=request.environ['PATH_INFO'].split('/')[-1] %>
    ${name} -
    ${next.title()}
</%def>
<%def name="footer()">
</%def>
<%def name="js()">
    ${next.js()}
</%def>
<%def name="header()">
    <% flashes = h.flash.pop_messages() %>
    <div id="flahses">
        <span class="message">
            % if flahes :
                % for flash in flashes :
                    % if flash :
                        <% name=str(flash).strip().replace(' ','_') %>
                        <div id="flash_${name}">
                            ${flash}
                        </div>
                    % endif
                % endfor
            % endif
        </span>
    </div>
</%def>
${next.body()}
